import type { Route } from '../index.type'
import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'
const route: Route[] = [
  {
    path: '/goodsManager',
    component: Layout,
    redirect: '/goodsManager/index',
    meta: { title: 'message.menu.goodsManager.name', icon: 'sfont system-document' },
    children: [
      {
        path: 'index',
        component: createNameComponent(() => import('@/views/main/goodsManager/index.vue')),
        meta: { title: 'message.menu.goodsManager.name' }
      }
    ]
  }
]



export default route